import requests

login_url = 'https://www.51moot.net/main/login_validate'
login_data = {
    'login_name': '13957740075',
    'login_pass': '123456',
    'auto_login': 'option1'
}

header = {
    'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.103 Safari/537.36'}
# requests 的session模拟登录
session = requests.session()

session.post(login_url, headers=header, data=login_data);

p_url = 'https://www.51moot.net/server_hall_2/tea/info'

resp = session.get(p_url)

print(resp.text)
